<template>

	<view class="content">
		<u-navbar back-text="返回" title="详情"></u-navbar>
		<!-- 用户详情 -->
		<u-cell-group>
			<u-cell-item title="头像">
				<u-image slot="right-icon" width="80rpx" height="80rpx" src="../../static/img/logo1.png" mode="widthFix"></u-image>


			</u-cell-item>
			<u-cell-item title="签名" value="看没看懂阿凡达，的局啊地卡斯蒂略噩">


			</u-cell-item>
			<u-cell-item title="注册" value="2019-12-22 13:32:45"></u-cell-item>
			<u-cell-item title="昵称" value="忽然"></u-cell-item>
			<u-cell-item title="生日" value="男"></u-cell-item>
			<u-cell-item title="电话" value="新版本"></u-cell-item>
			<u-cell-item title="邮箱" value="新版本"></u-cell-item>
			<u-cell-item title="密码"></u-cell-item>
			<u-cell-item title="联系作者" value="752449732@qq.com"></u-cell-item>
			<u-cell-item title="退出登录" @click="logOut"></u-cell-item>
		</u-cell-group>

		<!-- 确认退出 -->
		<u-modal show-cancel-button v-model="show" content="是否确认退出"></u-modal>

	</view>
</template>

<script>
	export default {
		data() {
			return {
				show: false,
				title: "Hello",
				isFriend: false, //是否有好友
				backgroundColor: {
					background: "#ffffff"
				}
			};
		},
		onLoad() {},
		methods: {
			// 退出登录
			logOut() {
				// this.show = true;
				this.$u.route({
					url: 'pages/login/login'
				})

			}
		}
	};
</script>

<style scoped lang="scss">


</style>
